package com.sec.key.service;

import javax.servlet.http.HttpServletRequest;

import com.sec.base.utils.AjaxJson;
import com.sec.key.entity.Key;

public interface KeyService {

	public AjaxJson findKeyListByPage(HttpServletRequest request, int pageNumber, int pageSize);

	public AjaxJson saveOrUpdate(HttpServletRequest request, Key key);

	public AjaxJson getKeyInfo(String id);

	public AjaxJson deleteKey(String id);

	public AjaxJson findAllKeyByLoginUser(HttpServletRequest request);
}
